const {defineConfig} = require('@vue/cli-service')
module.exports = defineConfig({
    publicPath: './',
    transpileDependencies: true,
    chainWebpack: config => {
        config.module
            .rule('obj')
            .test(/\.(obj|mtl)$/)
            .use('file-loader')
            .loader('file-loader')
            .options({
                name: 'assets/3dobjects/[name].[hash:8].[ext]'
            });
    },
    pluginOptions: {
        windicss: {
            preflight: false,
        },
    },
})
